<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: RCC</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">模块</a> &#124;
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">RCC<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>RCC driver modules  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
模块</h2></td></tr>
<tr class="memitem:group___r_c_c___exported___constants"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c___exported___constants.html">RCC_Exported_Constants</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group___r_c_c___private___functions"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c___private___functions.html">RCC_Private_Functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ga97bfbab0a7705ba70ded1a0156b94bfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_HSI_VALUE</b>(VALUE)</td></tr>
<tr class="separator:ga97bfbab0a7705ba70ded1a0156b94bfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga054d518ead5cb52110393d3a6179f4e1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_LSI_VALUE</b>(VALUE)</td></tr>
<tr class="separator:ga054d518ead5cb52110393d3a6179f4e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48b4f07a24cf145d753759a50bfaf016"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_LSI_STARTUP</b>(TIME)</td></tr>
<tr class="separator:ga48b4f07a24cf145d753759a50bfaf016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga287bbcafd73d07ec915c2f793301908a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_HSE</b>(HSE)</td></tr>
<tr class="separator:ga287bbcafd73d07ec915c2f793301908a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95d2678bf8f46e932e7cba75619a4d2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_LSE</b>(LSE)</td></tr>
<tr class="separator:ga95d2678bf8f46e932e7cba75619a4d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae9d6172a72b0a90cb3703aa59258c57"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_SYSCLK_SOURCE</b>(SOURCE)</td></tr>
<tr class="separator:gaae9d6172a72b0a90cb3703aa59258c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15b7781de8b574b5b5cd6cf093e7ab73"><td class="memItemLeft" align="right" valign="top"><a id="ga15b7781de8b574b5b5cd6cf093e7ab73"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_AHBCLKDiv</b>(DIV)&#160;&#160;&#160;(((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</td></tr>
<tr class="separator:ga15b7781de8b574b5b5cd6cf093e7ab73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4c3f2b8ed6b5a161b67395d19e7885e"><td class="memItemLeft" align="right" valign="top"><a id="gad4c3f2b8ed6b5a161b67395d19e7885e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_APBCLKDiv</b>(DIV)&#160;&#160;&#160;(((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</td></tr>
<tr class="separator:gad4c3f2b8ed6b5a161b67395d19e7885e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14ccb9b2d1b548cde91cb4c5c0fd305d"><td class="memItemLeft" align="right" valign="top"><a id="ga14ccb9b2d1b548cde91cb4c5c0fd305d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_MCO_HCLkDiv</b>(DIV)&#160;&#160;&#160;(((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</td></tr>
<tr class="separator:ga14ccb9b2d1b548cde91cb4c5c0fd305d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7e8c994911e16d0f3840e2d03273f37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_MCO_SOURCE</b>(SOURCE)</td></tr>
<tr class="separator:gad7e8c994911e16d0f3840e2d03273f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fbf97a9c9f5742c94cde6ffe389aedc"><td class="memItemLeft" align="right" valign="top"><a id="ga5fbf97a9c9f5742c94cde6ffe389aedc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_AHB_PERIPH</b>(PERIPH)&#160;&#160;&#160;((((PERIPH) &amp; RCC_AHBPeriph_ALL) != 0))</td></tr>
<tr class="separator:ga5fbf97a9c9f5742c94cde6ffe389aedc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2fbfdeb20086d6576b37ab00f2dc17ab"><td class="memItemLeft" align="right" valign="top"><a id="ga2fbfdeb20086d6576b37ab00f2dc17ab"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_APB_PERIPH</b>(PERIPH)&#160;&#160;&#160;((((PERIPH) &amp; RCC_APBPeriph_ALL) != 0))</td></tr>
<tr class="separator:ga2fbfdeb20086d6576b37ab00f2dc17ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e51de71183a43338c509bbca1adfeaa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RCC_RESET_FLAG</b>(Flag)</td></tr>
<tr class="separator:ga7e51de71183a43338c509bbca1adfeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae311c7e85f4db9f6a80c3b4746225d52"><td class="memItemLeft" align="right" valign="top"><a id="gae311c7e85f4db9f6a80c3b4746225d52"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_REGWR_LOCK</b>()&#160;&#160;&#160;(RCC-&gt;UNLOCK = (0x2AD5334C &lt;&lt; RCC_UNLOCK_KEY_Pos) &amp; RCC_UNLOCK_KEY)</td></tr>
<tr class="separator:gae311c7e85f4db9f6a80c3b4746225d52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62b3e91363e04ff874e3b14ce1c40253"><td class="memItemLeft" align="right" valign="top"><a id="ga62b3e91363e04ff874e3b14ce1c40253"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_REGWR_UNLOCK</b>()&#160;&#160;&#160;(RCC-&gt;UNLOCK = RCC_UNLOCK_UNLOCK | (0x2AD5334C &lt;&lt; RCC_UNLOCK_KEY_Pos))</td></tr>
<tr class="separator:ga62b3e91363e04ff874e3b14ce1c40253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b799315887ea7d524f36275ba238e96"><td class="memItemLeft" align="right" valign="top"><a id="ga4b799315887ea7d524f36275ba238e96"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_SYSTEMCR_UNLOCK_KEY</b>&#160;&#160;&#160;((uint32_t)0x5A69)</td></tr>
<tr class="separator:ga4b799315887ea7d524f36275ba238e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad026a9143f3fd9e84058fd0a1c4696ca"><td class="memItemLeft" align="right" valign="top"><a id="gad026a9143f3fd9e84058fd0a1c4696ca"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_SYSTEMCR_UNLOCK_Pos</b>&#160;&#160;&#160;((uint32_t)16)</td></tr>
<tr class="separator:gad026a9143f3fd9e84058fd0a1c4696ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacde9fe86a4052589689730e8e9be3d21"><td class="memItemLeft" align="right" valign="top"><a id="gacde9fe86a4052589689730e8e9be3d21"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_SET_KEYBIT</b>(REG,  BIT)&#160;&#160;&#160;((REG) |= (BIT | (RCC_SYSTEMCR_UNLOCK_KEY &lt;&lt; RCC_SYSTEMCR_UNLOCK_Pos)))</td></tr>
<tr class="separator:gacde9fe86a4052589689730e8e9be3d21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbfb5ed85626e5b26eddc9a6dbc66026"><td class="memItemLeft" align="right" valign="top"><a id="gafbfb5ed85626e5b26eddc9a6dbc66026"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_MODIFY_KEYREG</b>(REG,  CLEARMASK,  SETVALUE)&#160;&#160;&#160;WRITE_REG((REG), (((READ_REG(REG)) &amp; (~(CLEARMASK))) | (SETVALUE | (RCC_SYSTEMCR_UNLOCK_KEY &lt;&lt; RCC_SYSTEMCR_UNLOCK_Pos))))</td></tr>
<tr class="separator:gafbfb5ed85626e5b26eddc9a6dbc66026"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4949740ec69fa46a11368f80453a2499"><td class="memItemLeft" align="right" valign="top"><a id="ga4949740ec69fa46a11368f80453a2499"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_WRITE_KEYREG</b>(REG,  VAL)&#160;&#160;&#160;((REG) = (VAL | (RCC_SYSTEMCR_UNLOCK_KEY &lt;&lt; RCC_SYSTEMCR_UNLOCK_Pos)))</td></tr>
<tr class="separator:ga4949740ec69fa46a11368f80453a2499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46cf3802f89faf8bd04d841b08413096"><td class="memItemLeft" align="right" valign="top"><a id="ga46cf3802f89faf8bd04d841b08413096"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RCC_CLEAR_KEYBIT</b>(REG,  CLEARMASK)&#160;&#160;&#160;WRITE_REG((REG), (((READ_REG(REG)) &amp; (~(CLEARMASK))) | (RCC_SYSTEMCR_UNLOCK_KEY &lt;&lt; RCC_SYSTEMCR_UNLOCK_Pos)))</td></tr>
<tr class="separator:ga46cf3802f89faf8bd04d841b08413096"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga413f6422be11b1334abe60b3bff2e062"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga413f6422be11b1334abe60b3bff2e062">RCC_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga413f6422be11b1334abe60b3bff2e062"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the RCC clock configuration to the default reset state.  <a href="#ga413f6422be11b1334abe60b3bff2e062">更多...</a><br /></td></tr>
<tr class="separator:ga413f6422be11b1334abe60b3bff2e062"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbfc95016376b45e5bc49563576a50d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#gafbfc95016376b45e5bc49563576a50d6">RCC_HSIConfig</a> (uint32_t HSI_Value, FunctionalState NewState)</td></tr>
<tr class="memdesc:gafbfc95016376b45e5bc49563576a50d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Internal High Speed oscillator (HSI).  <a href="#gafbfc95016376b45e5bc49563576a50d6">更多...</a><br /></td></tr>
<tr class="separator:gafbfc95016376b45e5bc49563576a50d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72d050ad0f27b15082d628ae0bfd6d1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga72d050ad0f27b15082d628ae0bfd6d1c">RCC_LSIConfig</a> (uint32_t LSI_Value, uint32_t LSI_StartUPTime, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga72d050ad0f27b15082d628ae0bfd6d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Internal low Speed oscillator (LSI).  <a href="#ga72d050ad0f27b15082d628ae0bfd6d1c">更多...</a><br /></td></tr>
<tr class="separator:ga72d050ad0f27b15082d628ae0bfd6d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga432b3281546d23345642d55f8670a93d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga432b3281546d23345642d55f8670a93d">RCC_HSEConfig</a> (uint32_t RCC_HSE)</td></tr>
<tr class="memdesc:ga432b3281546d23345642d55f8670a93d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the External High Speed oscillator (HSE).  <a href="#ga432b3281546d23345642d55f8670a93d">更多...</a><br /></td></tr>
<tr class="separator:ga432b3281546d23345642d55f8670a93d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b2e5a38527f353eb72ac7038e56b0b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga8b2e5a38527f353eb72ac7038e56b0b0">RCC_LSEConfig</a> (uint32_t RCC_LSE)</td></tr>
<tr class="memdesc:ga8b2e5a38527f353eb72ac7038e56b0b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the External Low Speed oscillator (LSE).  <a href="#ga8b2e5a38527f353eb72ac7038e56b0b0">更多...</a><br /></td></tr>
<tr class="separator:ga8b2e5a38527f353eb72ac7038e56b0b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37810b1a431965bb1914c18f87bb14a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga37810b1a431965bb1914c18f87bb14a6">RCC_HSEDriveCurrentConfig</a> (uint32_t Current)</td></tr>
<tr class="memdesc:ga37810b1a431965bb1914c18f87bb14a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the drive current of High Speed oscillator (HSE).  <a href="#ga37810b1a431965bb1914c18f87bb14a6">更多...</a><br /></td></tr>
<tr class="separator:ga37810b1a431965bb1914c18f87bb14a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga146a8f31f8468224f011202203ee0e1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga146a8f31f8468224f011202203ee0e1f">RCC_HSEStartTimeConfig</a> (uint32_t Time)</td></tr>
<tr class="memdesc:ga146a8f31f8468224f011202203ee0e1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the start time of High Speed oscillator (HSE).  <a href="#ga146a8f31f8468224f011202203ee0e1f">更多...</a><br /></td></tr>
<tr class="separator:ga146a8f31f8468224f011202203ee0e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6645fbec94afa6645f6e81129ae6d0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#gab6645fbec94afa6645f6e81129ae6d0d">RCC_LSEDriveCurrentConfig</a> (uint32_t Current)</td></tr>
<tr class="memdesc:gab6645fbec94afa6645f6e81129ae6d0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the drive current of Low Speed oscillator (LSE).  <a href="#gab6645fbec94afa6645f6e81129ae6d0d">更多...</a><br /></td></tr>
<tr class="separator:gab6645fbec94afa6645f6e81129ae6d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga434c8b825d3089472e5676633712fa9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga434c8b825d3089472e5676633712fa9c">RCC_LSEStartTimeConfig</a> (uint32_t Time)</td></tr>
<tr class="memdesc:ga434c8b825d3089472e5676633712fa9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the start time of Low Speed oscillator (LSE).  <a href="#ga434c8b825d3089472e5676633712fa9c">更多...</a><br /></td></tr>
<tr class="separator:ga434c8b825d3089472e5676633712fa9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3551a36a8f0a3dc96a74d6b939048337"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga3551a36a8f0a3dc96a74d6b939048337">RCC_SYSCLKConfig</a> (uint32_t RCC_SYSCLKSource)</td></tr>
<tr class="memdesc:ga3551a36a8f0a3dc96a74d6b939048337"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the SYS Clock (SYSCLK).  <a href="#ga3551a36a8f0a3dc96a74d6b939048337">更多...</a><br /></td></tr>
<tr class="separator:ga3551a36a8f0a3dc96a74d6b939048337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa70ccc35b9bbc8efa9fc79576ebaa59a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#gaa70ccc35b9bbc8efa9fc79576ebaa59a">RCC_AHBCLKConfig</a> (uint32_t RCC_AHBCLKDiv)</td></tr>
<tr class="memdesc:gaa70ccc35b9bbc8efa9fc79576ebaa59a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the AHB clock (AHBCLK).  <a href="#gaa70ccc35b9bbc8efa9fc79576ebaa59a">更多...</a><br /></td></tr>
<tr class="separator:gaa70ccc35b9bbc8efa9fc79576ebaa59a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72fbe926d274ee54bd687902985aa6a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga72fbe926d274ee54bd687902985aa6a0">RCC_APBCLKConfig</a> (uint32_t RCC_APBCLKDiv)</td></tr>
<tr class="memdesc:ga72fbe926d274ee54bd687902985aa6a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the APB clock (APBCLK).  <a href="#ga72fbe926d274ee54bd687902985aa6a0">更多...</a><br /></td></tr>
<tr class="separator:ga72fbe926d274ee54bd687902985aa6a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c4ea72bdc2342b5ac01056f67b67ac5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga0c4ea72bdc2342b5ac01056f67b67ac5">RCC_MCOConfig</a> (uint32_t RCC_MCOSource, uint32_t RCC_MCOHCLKDiv)</td></tr>
<tr class="memdesc:ga0c4ea72bdc2342b5ac01056f67b67ac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the clock source to output on MCO pin.  <a href="#ga0c4ea72bdc2342b5ac01056f67b67ac5">更多...</a><br /></td></tr>
<tr class="separator:ga0c4ea72bdc2342b5ac01056f67b67ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b68c53f127e0382f58abab2f41c8cf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga4b68c53f127e0382f58abab2f41c8cf4">RCC_MCOCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga4b68c53f127e0382f58abab2f41c8cf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or Disable the MCO Clock output.  <a href="#ga4b68c53f127e0382f58abab2f41c8cf4">更多...</a><br /></td></tr>
<tr class="separator:ga4b68c53f127e0382f58abab2f41c8cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e9944fd1ed734275222bbb3e3f29993"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga3e9944fd1ed734275222bbb3e3f29993">RCC_GetClocksFreq</a> (<a class="el" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a> *RCC_Clocks)</td></tr>
<tr class="memdesc:ga3e9944fd1ed734275222bbb3e3f29993"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the frequencies of different on chip clocks.  <a href="#ga3e9944fd1ed734275222bbb3e3f29993">更多...</a><br /></td></tr>
<tr class="separator:ga3e9944fd1ed734275222bbb3e3f29993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0b30d8598b8393bdba9c3fefba3a968"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#gae0b30d8598b8393bdba9c3fefba3a968">RCC_AHBPeriphClockCmd</a> (uint32_t RCC_AHBPeriph, FunctionalState NewState)</td></tr>
<tr class="memdesc:gae0b30d8598b8393bdba9c3fefba3a968"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the AHB peripheral clock.  <a href="#gae0b30d8598b8393bdba9c3fefba3a968">更多...</a><br /></td></tr>
<tr class="separator:gae0b30d8598b8393bdba9c3fefba3a968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6836629a78e13589ab7d318dcc98c79d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga6836629a78e13589ab7d318dcc98c79d">RCC_APBPeriphClockCmd</a> (uint32_t RCC_APBPeriph, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga6836629a78e13589ab7d318dcc98c79d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the APB peripheral clock.  <a href="#ga6836629a78e13589ab7d318dcc98c79d">更多...</a><br /></td></tr>
<tr class="separator:ga6836629a78e13589ab7d318dcc98c79d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d6761fbffe7e916c7aa043cabde180a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga0d6761fbffe7e916c7aa043cabde180a">RCC_AHBPeriphResetCmd</a> (uint32_t RCC_AHBPeriph, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga0d6761fbffe7e916c7aa043cabde180a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Forces or releases AHB peripheral reset.  <a href="#ga0d6761fbffe7e916c7aa043cabde180a">更多...</a><br /></td></tr>
<tr class="separator:ga0d6761fbffe7e916c7aa043cabde180a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9949dce4756cc900075d20f9df8c90b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#gab9949dce4756cc900075d20f9df8c90b">RCC_APBPeriphResetCmd</a> (uint32_t RCC_APBPeriph, FunctionalState NewState)</td></tr>
<tr class="memdesc:gab9949dce4756cc900075d20f9df8c90b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Forces or releases APB peripheral reset.  <a href="#gab9949dce4756cc900075d20f9df8c90b">更多...</a><br /></td></tr>
<tr class="separator:gab9949dce4756cc900075d20f9df8c90b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61bb8115953f7876b421c2d921841a62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga61bb8115953f7876b421c2d921841a62">RCC_RTCPeriphResetCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga61bb8115953f7876b421c2d921841a62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Forces or releases RTC peripheral reset.  <a href="#ga61bb8115953f7876b421c2d921841a62">更多...</a><br /></td></tr>
<tr class="separator:ga61bb8115953f7876b421c2d921841a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8be8d5d022031e7f71d209f1705d47d0"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga8be8d5d022031e7f71d209f1705d47d0">RCC_GetResetFlagStatus</a> (uint32_t RCC_RSTFLAG)</td></tr>
<tr class="memdesc:ga8be8d5d022031e7f71d209f1705d47d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified RCC reset flag is set or not.  <a href="#ga8be8d5d022031e7f71d209f1705d47d0">更多...</a><br /></td></tr>
<tr class="separator:ga8be8d5d022031e7f71d209f1705d47d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e5725d019edc4d0aa6c5e1d2dd0fe19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_c_c.html#ga0e5725d019edc4d0aa6c5e1d2dd0fe19">RCC_ClearResetFlags</a> (uint32_t RCC_RSTFLAG)</td></tr>
<tr class="memdesc:ga0e5725d019edc4d0aa6c5e1d2dd0fe19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the specified RCC reset flag.  <a href="#ga0e5725d019edc4d0aa6c5e1d2dd0fe19">更多...</a><br /></td></tr>
<tr class="separator:ga0e5725d019edc4d0aa6c5e1d2dd0fe19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>RCC driver modules </p>
<h2 class="groupheader">宏定义说明</h2>
<a id="ga97bfbab0a7705ba70ded1a0156b94bfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97bfbab0a7705ba70ded1a0156b94bfa">&#9670;&nbsp;</a></span>IS_HSI_VALUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_HSI_VALUE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">VALUE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((VALUE) == <a class="code" href="group___r_c_c___h_s_i___value.html#gadf7eb5d3664cf415605b57b0e29da1df">HSI_VALUE_24M</a>) || \</div><div class="line">                             ((VALUE) == <a class="code" href="group___r_c_c___h_s_i___value.html#ga2ea2bf1a37fee3fb567a70556958d0d4">HSI_VALUE_22M</a>) || \</div><div class="line">                             ((VALUE) == <a class="code" href="group___r_c_c___h_s_i___value.html#ga06fc0c76e6a3c418b3dcc08b34d895e0">HSI_VALUE_16M</a>) || \</div><div class="line">                             ((VALUE) == <a class="code" href="group___r_c_c___h_s_i___value.html#ga763b451ad9dfe82a580585a30e2e6dac">HSI_VALUE_8M</a>) || \</div><div class="line">                             ((VALUE) == <a class="code" href="group___r_c_c___h_s_i___value.html#ga2ca1b11c39a3139611b3b4af8258ad9a">HSI_VALUE_4M</a>))</div><div class="ttc" id="group___r_c_c___h_s_i___value_html_ga06fc0c76e6a3c418b3dcc08b34d895e0"><div class="ttname"><a href="group___r_c_c___h_s_i___value.html#ga06fc0c76e6a3c418b3dcc08b34d895e0">HSI_VALUE_16M</a></div><div class="ttdeci">#define HSI_VALUE_16M</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:48</div></div>
<div class="ttc" id="group___r_c_c___h_s_i___value_html_ga2ca1b11c39a3139611b3b4af8258ad9a"><div class="ttname"><a href="group___r_c_c___h_s_i___value.html#ga2ca1b11c39a3139611b3b4af8258ad9a">HSI_VALUE_4M</a></div><div class="ttdeci">#define HSI_VALUE_4M</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:50</div></div>
<div class="ttc" id="group___r_c_c___h_s_i___value_html_ga2ea2bf1a37fee3fb567a70556958d0d4"><div class="ttname"><a href="group___r_c_c___h_s_i___value.html#ga2ea2bf1a37fee3fb567a70556958d0d4">HSI_VALUE_22M</a></div><div class="ttdeci">#define HSI_VALUE_22M</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:47</div></div>
<div class="ttc" id="group___r_c_c___h_s_i___value_html_ga763b451ad9dfe82a580585a30e2e6dac"><div class="ttname"><a href="group___r_c_c___h_s_i___value.html#ga763b451ad9dfe82a580585a30e2e6dac">HSI_VALUE_8M</a></div><div class="ttdeci">#define HSI_VALUE_8M</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:49</div></div>
<div class="ttc" id="group___r_c_c___h_s_i___value_html_gadf7eb5d3664cf415605b57b0e29da1df"><div class="ttname"><a href="group___r_c_c___h_s_i___value.html#gadf7eb5d3664cf415605b57b0e29da1df">HSI_VALUE_24M</a></div><div class="ttdeci">#define HSI_VALUE_24M</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:46</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga054d518ead5cb52110393d3a6179f4e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga054d518ead5cb52110393d3a6179f4e1">&#9670;&nbsp;</a></span>IS_LSI_VALUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_LSI_VALUE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">VALUE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((VALUE) == <a class="code" href="group___r_c_c___l_s_i___value.html#ga42cbd9f082ff3511ebda6246741844e2">LSI_VALUE_38K</a>) || \</div><div class="line">                             ((VALUE) == <a class="code" href="group___r_c_c___l_s_i___value.html#ga529c09c248adfeb25dddc945b681c6fc">LSI_VALUE_32K</a>))</div><div class="ttc" id="group___r_c_c___l_s_i___value_html_ga529c09c248adfeb25dddc945b681c6fc"><div class="ttname"><a href="group___r_c_c___l_s_i___value.html#ga529c09c248adfeb25dddc945b681c6fc">LSI_VALUE_32K</a></div><div class="ttdeci">#define LSI_VALUE_32K</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:60</div></div>
<div class="ttc" id="group___r_c_c___l_s_i___value_html_ga42cbd9f082ff3511ebda6246741844e2"><div class="ttname"><a href="group___r_c_c___l_s_i___value.html#ga42cbd9f082ff3511ebda6246741844e2">LSI_VALUE_38K</a></div><div class="ttdeci">#define LSI_VALUE_38K</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:59</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga287bbcafd73d07ec915c2f793301908a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga287bbcafd73d07ec915c2f793301908a">&#9670;&nbsp;</a></span>IS_RCC_HSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_HSE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HSE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((HSE) == <a class="code" href="group___r_c_c___h_s_e.html#ga1616626d23fbce440398578855df6f97">RCC_HSE_OFF</a>) || \</div><div class="line">                         ((HSE) == <a class="code" href="group___r_c_c___h_s_e.html#gabc4f70a44776c557af20496b04d9a9db">RCC_HSE_ON</a>) || \</div><div class="line">                         ((HSE) == <a class="code" href="group___r_c_c___h_s_e.html#ga5ca515db2d5c4d5bdb9ee3d154df2704">RCC_HSE_BYPASS</a>) || \</div><div class="line">                         ((HSE) == RCC_HSE_DEFAULT))</div><div class="ttc" id="group___r_c_c___h_s_e_html_ga5ca515db2d5c4d5bdb9ee3d154df2704"><div class="ttname"><a href="group___r_c_c___h_s_e.html#ga5ca515db2d5c4d5bdb9ee3d154df2704">RCC_HSE_BYPASS</a></div><div class="ttdeci">#define RCC_HSE_BYPASS</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:82</div></div>
<div class="ttc" id="group___r_c_c___h_s_e_html_ga1616626d23fbce440398578855df6f97"><div class="ttname"><a href="group___r_c_c___h_s_e.html#ga1616626d23fbce440398578855df6f97">RCC_HSE_OFF</a></div><div class="ttdeci">#define RCC_HSE_OFF</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:80</div></div>
<div class="ttc" id="group___r_c_c___h_s_e_html_gabc4f70a44776c557af20496b04d9a9db"><div class="ttname"><a href="group___r_c_c___h_s_e.html#gabc4f70a44776c557af20496b04d9a9db">RCC_HSE_ON</a></div><div class="ttdeci">#define RCC_HSE_ON</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:81</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga95d2678bf8f46e932e7cba75619a4d2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga95d2678bf8f46e932e7cba75619a4d2c">&#9670;&nbsp;</a></span>IS_RCC_LSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_LSE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">LSE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((LSE) == <a class="code" href="group___r_c_c___l_s_e.html#ga6645c27708d0cad1a4ab61d2abb24c77">RCC_LSE_OFF</a>) || \</div><div class="line">                         ((LSE) == <a class="code" href="group___r_c_c___l_s_e.html#gac981ea636c2f215e4473901e0912f55a">RCC_LSE_ON</a>) || \</div><div class="line">                         ((LSE) == <a class="code" href="group___r_c_c___l_s_e.html#gaad580157edbae878edbcc83c5a68e767">RCC_LSE_BYPASS</a>) || \</div><div class="line">                         ((LSE) == RCC_LSE_DEFAULT))</div><div class="ttc" id="group___r_c_c___l_s_e_html_ga6645c27708d0cad1a4ab61d2abb24c77"><div class="ttname"><a href="group___r_c_c___l_s_e.html#ga6645c27708d0cad1a4ab61d2abb24c77">RCC_LSE_OFF</a></div><div class="ttdeci">#define RCC_LSE_OFF</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:92</div></div>
<div class="ttc" id="group___r_c_c___l_s_e_html_gac981ea636c2f215e4473901e0912f55a"><div class="ttname"><a href="group___r_c_c___l_s_e.html#gac981ea636c2f215e4473901e0912f55a">RCC_LSE_ON</a></div><div class="ttdeci">#define RCC_LSE_ON</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:93</div></div>
<div class="ttc" id="group___r_c_c___l_s_e_html_gaad580157edbae878edbcc83c5a68e767"><div class="ttname"><a href="group___r_c_c___l_s_e.html#gaad580157edbae878edbcc83c5a68e767">RCC_LSE_BYPASS</a></div><div class="ttdeci">#define RCC_LSE_BYPASS</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:94</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga48b4f07a24cf145d753759a50bfaf016"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48b4f07a24cf145d753759a50bfaf016">&#9670;&nbsp;</a></span>IS_RCC_LSI_STARTUP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_LSI_STARTUP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">TIME</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((TIME) == <a class="code" href="group___r_c_c___l_s_i___startup___value.html#ga8b0c62bd0e3a2608ee14e7da857c0320">RCC_LSI_STARTUP_4CYCLE</a>) || \</div><div class="line">                                  ((TIME) == <a class="code" href="group___r_c_c___l_s_i___startup___value.html#gaaf4a2a393e4aed90cba392d5365375ee">RCC_LSI_STARTUP_16CYCLE</a>) || \</div><div class="line">                                  ((TIME) == <a class="code" href="group___r_c_c___l_s_i___startup___value.html#gaf345853a921335f26d9a7b10b120011b">RCC_LSI_STARTUP_64CYCLE</a>) || \</div><div class="line">                                  ((TIME) == <a class="code" href="group___r_c_c___l_s_i___startup___value.html#gae8afae4b8bea5ae464a202054dd8edc6">RCC_LSI_STARTUP_256CYCLE</a>))</div><div class="ttc" id="group___r_c_c___l_s_i___startup___value_html_gaaf4a2a393e4aed90cba392d5365375ee"><div class="ttname"><a href="group___r_c_c___l_s_i___startup___value.html#gaaf4a2a393e4aed90cba392d5365375ee">RCC_LSI_STARTUP_16CYCLE</a></div><div class="ttdeci">#define RCC_LSI_STARTUP_16CYCLE</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:70</div></div>
<div class="ttc" id="group___r_c_c___l_s_i___startup___value_html_ga8b0c62bd0e3a2608ee14e7da857c0320"><div class="ttname"><a href="group___r_c_c___l_s_i___startup___value.html#ga8b0c62bd0e3a2608ee14e7da857c0320">RCC_LSI_STARTUP_4CYCLE</a></div><div class="ttdeci">#define RCC_LSI_STARTUP_4CYCLE</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:69</div></div>
<div class="ttc" id="group___r_c_c___l_s_i___startup___value_html_gae8afae4b8bea5ae464a202054dd8edc6"><div class="ttname"><a href="group___r_c_c___l_s_i___startup___value.html#gae8afae4b8bea5ae464a202054dd8edc6">RCC_LSI_STARTUP_256CYCLE</a></div><div class="ttdeci">#define RCC_LSI_STARTUP_256CYCLE</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:72</div></div>
<div class="ttc" id="group___r_c_c___l_s_i___startup___value_html_gaf345853a921335f26d9a7b10b120011b"><div class="ttname"><a href="group___r_c_c___l_s_i___startup___value.html#gaf345853a921335f26d9a7b10b120011b">RCC_LSI_STARTUP_64CYCLE</a></div><div class="ttdeci">#define RCC_LSI_STARTUP_64CYCLE</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:71</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="gad7e8c994911e16d0f3840e2d03273f37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7e8c994911e16d0f3840e2d03273f37">&#9670;&nbsp;</a></span>IS_RCC_MCO_SOURCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_MCO_SOURCE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SOURCE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((SOURCE) == RCC_MCOSOURCE_HSI) || \</div><div class="line">                                   ((SOURCE) == RCC_MCOSOURCE_HSE) || \</div><div class="line">                                   ((SOURCE) == RCC_MCOSOURCE_LSI) || \</div><div class="line">                                   ((SOURCE) == RCC_MCOSOURCE_LSE) || \</div><div class="line">                                   ((SOURCE) == RCC_MCOSOURCE_SYSCLK) || \</div><div class="line">                                   ((SOURCE) == RCC_MCOSOURCE_HCLK))</div></div><!-- fragment -->
</div>
</div>
<a id="ga7e51de71183a43338c509bbca1adfeaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e51de71183a43338c509bbca1adfeaa">&#9670;&nbsp;</a></span>IS_RCC_RESET_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_RESET_FLAG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Flag</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((Flag) == RCC_RSTFLAG_MCURST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_CPURST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_WWDGRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_IWDGRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_LVDRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_PORRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_LOCKUPRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_PADRST) || \</div><div class="line">                                   ((Flag) == RCC_RSTFLAG_SFTRST))</div></div><!-- fragment -->
</div>
</div>
<a id="gaae9d6172a72b0a90cb3703aa59258c57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae9d6172a72b0a90cb3703aa59258c57">&#9670;&nbsp;</a></span>IS_RCC_SYSCLK_SOURCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_RCC_SYSCLK_SOURCE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SOURCE</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">(((SOURCE) == RCC_SYSCLKSource_HSI) || \</div><div class="line">                                      ((SOURCE) == RCC_SYSCLKSource_HSE) || \</div><div class="line">                                      ((SOURCE) == RCC_SYSCLKSource_LSI) || \</div><div class="line">                                      ((SOURCE) == RCC_SYSCLKSource_LSE))</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="gaa70ccc35b9bbc8efa9fc79576ebaa59a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa70ccc35b9bbc8efa9fc79576ebaa59a">&#9670;&nbsp;</a></span>RCC_AHBCLKConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_AHBCLKConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_AHBCLKDiv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the AHB clock (AHBCLK). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_AHBCLKDiv</td><td>defines the AHB clock divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of 1-510, The allowed values are an even number from 2 to 510 and 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae0b30d8598b8393bdba9c3fefba3a968"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0b30d8598b8393bdba9c3fefba3a968">&#9670;&nbsp;</a></span>RCC_AHBPeriphClockCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_AHBPeriphClockCmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_AHBPeriph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the AHB peripheral clock. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_AHBPeriph</td><td>specifies the AHB peripheral to gates its clock. This parameter can be any combination of the following values: <ul>
<li>RCC_AHBPeriph_GPIOA </li>
<li>RCC_AHBPeriph_GPIOB </li>
<li>RCC_AHBPeriph_GPIOC </li>
<li>RCC_AHBPeriph_GPIOD </li>
<li>RCC_AHBPeriph_CRC </li>
<li>RCC_AHBPeriph_FLASH </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the specified peripheral clock. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0d6761fbffe7e916c7aa043cabde180a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d6761fbffe7e916c7aa043cabde180a">&#9670;&nbsp;</a></span>RCC_AHBPeriphResetCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_AHBPeriphResetCmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_AHBPeriph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Forces or releases AHB peripheral reset. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_AHBPeriph</td><td>specifies the AHB peripheral to reset. This parameter can be any combination of the following values: <ul>
<li>RCC_AHBPeriph_GPIOA </li>
<li>RCC_AHBPeriph_GPIOB </li>
<li>RCC_AHBPeriph_GPIOC </li>
<li>RCC_AHBPeriph_GPIOD </li>
<li>RCC_AHBPeriph_CRC </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the specified peripheral reset. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga72fbe926d274ee54bd687902985aa6a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72fbe926d274ee54bd687902985aa6a0">&#9670;&nbsp;</a></span>RCC_APBCLKConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_APBCLKConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_APBCLKDiv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the APB clock (APBCLK). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_APBCLKDiv</td><td>defines the APB clock divider. This clock is derived from the AHB clock (HCLK). This parameter can be a value of 1-510, The allowed values are an even number from 2 to 510 and 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6836629a78e13589ab7d318dcc98c79d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6836629a78e13589ab7d318dcc98c79d">&#9670;&nbsp;</a></span>RCC_APBPeriphClockCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_APBPeriphClockCmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_APBPeriph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the APB peripheral clock. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_APBPeriph</td><td>specifies the APB peripheral to gates its clock. This parameter can be any combination of the following values: <ul>
<li>RCC_APBPeriph_UART1 </li>
<li>RCC_APBPeriph_UART2 </li>
<li>RCC_APBPeriph_I2C </li>
<li>RCC_APBPeriph_LPUART </li>
<li>RCC_APBPeriph_SPI </li>
<li>RCC_APBPeriph_LPTIM </li>
<li>RCC_APBPeriph_BASETIM </li>
<li>RCC_APBPeriph_SYSCON </li>
<li>RCC_APBPeriph_PCA </li>
<li>RCC_APBPeriph_OWIRE </li>
<li>RCC_APBPeriph_TIM1 </li>
<li>RCC_APBPeriph_TIM2 </li>
<li>RCC_APBPeriph_WWDG </li>
<li>RCC_APBPeriph_ADC </li>
<li>RCC_APBPeriph_AWK </li>
<li>RCC_APBPeriph_RTC </li>
<li>RCC_APBPeriph_CLKTRIM </li>
<li>RCC_APBPeriph_IWDG </li>
<li>RCC_APBPeriph_LVDVC </li>
<li>RCC_APBPeriph_BEEP </li>
<li>RCC_APBPeriph_DBG </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the specified peripheral clock. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab9949dce4756cc900075d20f9df8c90b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab9949dce4756cc900075d20f9df8c90b">&#9670;&nbsp;</a></span>RCC_APBPeriphResetCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_APBPeriphResetCmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_APBPeriph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Forces or releases APB peripheral reset. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_APBPeriph</td><td>specifies the APB peripheral to reset. This parameter can be any combination of the following values: <ul>
<li>RCC_APBPeriph_UART1 </li>
<li>RCC_APBPeriph_UART2 </li>
<li>RCC_APBPeriph_I2C </li>
<li>RCC_APBPeriph_LPUART </li>
<li>RCC_APBPeriph_SPI </li>
<li>RCC_APBPeriph_LPTIM </li>
<li>RCC_APBPeriph_BASETIM </li>
<li>RCC_APBPeriph_SYSCON </li>
<li>RCC_APBPeriph_PCA </li>
<li>RCC_APBPeriph_OWIRE </li>
<li>RCC_APBPeriph_TIM1 </li>
<li>RCC_APBPeriph_TIM2 </li>
<li>RCC_APBPeriph_WWDG </li>
<li>RCC_APBPeriph_ADC </li>
<li>RCC_APBPeriph_AWK </li>
<li>RCC_APBPeriph_CLKTRIM </li>
<li>RCC_APBPeriph_LVDVC </li>
<li>RCC_APBPeriph_BEEP </li>
<li>RCC_APBPeriph_DBG </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the specified peripheral reset. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0e5725d019edc4d0aa6c5e1d2dd0fe19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e5725d019edc4d0aa6c5e1d2dd0fe19">&#9670;&nbsp;</a></span>RCC_ClearResetFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_ClearResetFlags </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_RSTFLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear the specified RCC reset flag. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_RSTFLAG</td><td>specifies the flag to check. This parameter can be one of the following values: <ul>
<li>RCC_RSTFLAG_MCURST: MCU reset-option byte reload. </li>
<li>RCC_RSTFLAG_CPURST: CPU reset-no option byte reload. </li>
<li>RCC_RSTFLAG_WWDGRST: Window Watchdog reset. </li>
<li>RCC_RSTFLAG_IWDGRST: Independent Watchdog reset. </li>
<li>RCC_RSTFLAG_LVDRST: Low Voltage Detect reset. </li>
<li>RCC_RSTFLAG_PORRST: PowerON reset. </li>
<li>RCC_RSTFLAG_LOCKUPRST: CPU Lockup reset. </li>
<li>RCC_RSTFLAG_PADRST: Pad reset. </li>
<li>RCC_RSTFLAG_SFTRST: Software reset. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga413f6422be11b1334abe60b3bff2e062"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga413f6422be11b1334abe60b3bff2e062">&#9670;&nbsp;</a></span>RCC_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_DeInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the RCC clock configuration to the default reset state. </p>
<dl class="section note"><dt>注解</dt><dd>The default reset state of the clock configuration is given below:<ul>
<li>HSI ON and used as system clock source</li>
<li>HSE are OFF</li>
<li>AHB, APB prescaler set to 1.</li>
<li>MCO OFF </li>
</ul>
</dd>
<dd>
This function does not modify the configuration of the<ul>
<li>Peripheral clocks</li>
<li>LSI, LSE clocks </li>
</ul>
</dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3e9944fd1ed734275222bbb3e3f29993"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e9944fd1ed734275222bbb3e3f29993">&#9670;&nbsp;</a></span>RCC_GetClocksFreq()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_GetClocksFreq </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a> *&#160;</td>
          <td class="paramname"><em>RCC_Clocks</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the frequencies of different on chip clocks. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_Clocks</td><td>pointer to a <a class="el" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a> structure which will hold the clocks frequencies. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8be8d5d022031e7f71d209f1705d47d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8be8d5d022031e7f71d209f1705d47d0">&#9670;&nbsp;</a></span>RCC_GetResetFlagStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlagStatus RCC_GetResetFlagStatus </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_RSTFLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the specified RCC reset flag is set or not. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_RSTFLAG</td><td>specifies the flag to check. This parameter can be one of the following values: <ul>
<li>RCC_RSTFLAG_MCURST: MCU reset-option byte reload. </li>
<li>RCC_RSTFLAG_CPURST: CPU reset-no option byte reload. </li>
<li>RCC_RSTFLAG_WWDGRST: Window Watchdog reset. </li>
<li>RCC_RSTFLAG_IWDGRST: Independent Watchdog reset. </li>
<li>RCC_RSTFLAG_LVDRST: Low Voltage Detect reset. </li>
<li>RCC_RSTFLAG_PORRST: PowerON reset. </li>
<li>RCC_RSTFLAG_LOCKUPRST: CPU Lockup reset. </li>
<li>RCC_RSTFLAG_PADRST: Pad reset. </li>
<li>RCC_RSTFLAG_SFTRST: Software reset. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of RCC_RSTFLAG (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga432b3281546d23345642d55f8670a93d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga432b3281546d23345642d55f8670a93d">&#9670;&nbsp;</a></span>RCC_HSEConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_HSEConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_HSE</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the External High Speed oscillator (HSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_HSE</td><td>Specifies the new state of the HSE. This parameter can be one of the following values: <ul>
<li><a class="el" href="group___r_c_c___h_s_e.html#ga1616626d23fbce440398578855df6f97">RCC_HSE_OFF</a> </li>
<li><a class="el" href="group___r_c_c___h_s_e.html#gabc4f70a44776c557af20496b04d9a9db">RCC_HSE_ON</a> </li>
<li><a class="el" href="group___r_c_c___h_s_e.html#ga5ca515db2d5c4d5bdb9ee3d154df2704">RCC_HSE_BYPASS</a> </li>
<li>RCC_HSE_DEFAULT </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga37810b1a431965bb1914c18f87bb14a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37810b1a431965bb1914c18f87bb14a6">&#9670;&nbsp;</a></span>RCC_HSEDriveCurrentConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_HSEDriveCurrentConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Current</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the drive current of High Speed oscillator (HSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Current</td><td>specifies the drive current. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. This parameter can be a value of 0-7. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga146a8f31f8468224f011202203ee0e1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga146a8f31f8468224f011202203ee0e1f">&#9670;&nbsp;</a></span>RCC_HSEStartTimeConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_HSEStartTimeConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the start time of High Speed oscillator (HSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Time</td><td>specifies the start time. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. This parameter can be a value of 0-3. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gafbfc95016376b45e5bc49563576a50d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafbfc95016376b45e5bc49563576a50d6">&#9670;&nbsp;</a></span>RCC_HSIConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_HSIConfig </td>
          <td>(</td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>HSI_Value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Internal High Speed oscillator (HSI). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">HSI_Value</td><td>The HSI frequency value. This parameter can be one of the following values: <ul>
<li><a class="el" href="group___r_c_c___h_s_i___value.html#gadf7eb5d3664cf415605b57b0e29da1df">HSI_VALUE_24M</a> </li>
<li><a class="el" href="group___r_c_c___h_s_i___value.html#ga2ea2bf1a37fee3fb567a70556958d0d4">HSI_VALUE_22M</a> </li>
<li><a class="el" href="group___r_c_c___h_s_i___value.html#ga06fc0c76e6a3c418b3dcc08b34d895e0">HSI_VALUE_16M</a> </li>
<li><a class="el" href="group___r_c_c___h_s_i___value.html#ga763b451ad9dfe82a580585a30e2e6dac">HSI_VALUE_8M</a> </li>
<li><a class="el" href="group___r_c_c___h_s_i___value.html#ga2ca1b11c39a3139611b3b4af8258ad9a">HSI_VALUE_4M</a> </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the HSI. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8b2e5a38527f353eb72ac7038e56b0b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b2e5a38527f353eb72ac7038e56b0b0">&#9670;&nbsp;</a></span>RCC_LSEConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_LSEConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_LSE</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the External Low Speed oscillator (LSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_LSE</td><td>Specifies the new state of the LSE. This parameter can be one of the following values: <ul>
<li><a class="el" href="group___r_c_c___l_s_e.html#ga6645c27708d0cad1a4ab61d2abb24c77">RCC_LSE_OFF</a> </li>
<li><a class="el" href="group___r_c_c___l_s_e.html#gac981ea636c2f215e4473901e0912f55a">RCC_LSE_ON</a> </li>
<li><a class="el" href="group___r_c_c___l_s_e.html#gaad580157edbae878edbcc83c5a68e767">RCC_LSE_BYPASS</a> </li>
<li>RCC_LSE_DEFAULT </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab6645fbec94afa6645f6e81129ae6d0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6645fbec94afa6645f6e81129ae6d0d">&#9670;&nbsp;</a></span>RCC_LSEDriveCurrentConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_LSEDriveCurrentConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Current</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the drive current of Low Speed oscillator (LSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Current</td><td>specifies the drive current. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. This parameter can be a value of 0-15. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga434c8b825d3089472e5676633712fa9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga434c8b825d3089472e5676633712fa9c">&#9670;&nbsp;</a></span>RCC_LSEStartTimeConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_LSEStartTimeConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the start time of Low Speed oscillator (LSE). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Time</td><td>specifies the start time. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. This parameter can be a value of 0-3. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga72d050ad0f27b15082d628ae0bfd6d1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72d050ad0f27b15082d628ae0bfd6d1c">&#9670;&nbsp;</a></span>RCC_LSIConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_LSIConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>LSI_Value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>LSI_StartUPTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Internal low Speed oscillator (LSI). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">LSI_Value</td><td>The LSI frequency value. This parameter can be one of the following values: <ul>
<li><a class="el" href="group___r_c_c___l_s_i___value.html#ga42cbd9f082ff3511ebda6246741844e2">LSI_VALUE_38K</a> </li>
<li><a class="el" href="group___r_c_c___l_s_i___value.html#ga529c09c248adfeb25dddc945b681c6fc">LSI_VALUE_32K</a> </li>
</ul>
</td></tr>
    <tr><td class="paramname">LSI_StartUPTime</td><td>The LSI startup time. This parameter can be one of the following values: <ul>
<li><a class="el" href="group___r_c_c___l_s_i___startup___value.html#ga8b0c62bd0e3a2608ee14e7da857c0320">RCC_LSI_STARTUP_4CYCLE</a> </li>
<li><a class="el" href="group___r_c_c___l_s_i___startup___value.html#gaaf4a2a393e4aed90cba392d5365375ee">RCC_LSI_STARTUP_16CYCLE</a> </li>
<li><a class="el" href="group___r_c_c___l_s_i___startup___value.html#gaf345853a921335f26d9a7b10b120011b">RCC_LSI_STARTUP_64CYCLE</a> </li>
<li><a class="el" href="group___r_c_c___l_s_i___startup___value.html#gae8afae4b8bea5ae464a202054dd8edc6">RCC_LSI_STARTUP_256CYCLE</a> </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the LSI. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>The SYSTEM register write-protection function should be disabled before using this function. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga4b68c53f127e0382f58abab2f41c8cf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4b68c53f127e0382f58abab2f41c8cf4">&#9670;&nbsp;</a></span>RCC_MCOCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_MCOCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable or Disable the MCO Clock output. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>new state of the MCO. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0c4ea72bdc2342b5ac01056f67b67ac5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c4ea72bdc2342b5ac01056f67b67ac5">&#9670;&nbsp;</a></span>RCC_MCOConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_MCOConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_MCOSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_MCOHCLKDiv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selects the clock source to output on MCO pin. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_MCOSource</td><td>specifies the clock source to output. This parameter can be one of the following values: <ul>
<li>RCC_MCOSOURCE_HSI: HSI selected as MCO clock </li>
<li>RCC_MCOSOURCE_HSE: HSE selected as MCO clock </li>
<li>RCC_MCOSOURCE_LSI: LSI selected as MCO clock </li>
<li>RCC_MCOSOURCE_LSE: LSE selected as MCO clock </li>
<li>RCC_MCOSOURCE_SYSCLK: SYSCLK selected as MCO clock </li>
<li>RCC_MCOSOURCE_HCLK: HCLK selected as MCO clock </li>
</ul>
</td></tr>
    <tr><td class="paramname">RCC_MCOHCLKDiv</td><td>specifies the MCO DIV. This parameter can be a value of 1-510, The allowed values are an even number from 2 to 510 and 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>MCO pin should be configured in alternate function mode. </dd></dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga61bb8115953f7876b421c2d921841a62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga61bb8115953f7876b421c2d921841a62">&#9670;&nbsp;</a></span>RCC_RTCPeriphResetCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_RTCPeriphResetCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Forces or releases RTC peripheral reset. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>new state of the RTC peripheral reset. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3551a36a8f0a3dc96a74d6b939048337"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3551a36a8f0a3dc96a74d6b939048337">&#9670;&nbsp;</a></span>RCC_SYSCLKConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RCC_SYSCLKConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>RCC_SYSCLKSource</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the SYS Clock (SYSCLK). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RCC_SYSCLKSource</td><td>specifies the clock source used as system clock. This parameter can be one of the following values: <ul>
<li>RCC_SYSCLKSource_HSI: HSI selected as system clock. </li>
<li>RCC_SYSCLKSource_HSE: HSE selected as system clock. </li>
<li>RCC_SYSCLKSource_LSI: LSI selected as system clock. </li>
<li>RCC_SYSCLKSource_LSE: LSE selected as system clock. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
